import { region } from '_r/down.js' //引入axios封装

export default {
    state: {

    },
    mutations: {

    },
    actions: {
        /**
         * 下载
         */
        getUserInfo(context) {
            return region().then((res) => {
                if (res.success) {
                    // 改变登录状态
                   console.log(res)

                } else {
                    context.commit('changeIsLogin', res.success)
                }
            })
        }
    }
}
